package org.example.coupon.service;


import org.example.core.utils.PageUtils;
import org.example.core.utils.R;
import org.example.coupon.entity.SeckillPromotionEntity;

import java.util.List;

/**
 * @author xiaojie_cc
 * @version 1.0
 */
public interface SeckillPromotionService{

    // 添加秒杀
    R<?> addSeckillPromotion(SeckillPromotionEntity seckillPromotion);

    // 查看秒杀
    PageUtils querySeckillPromotionList(Integer pageNum, Integer pageSize, String title, Integer status);

    // 查询单个详细
    SeckillPromotionEntity getSeckillPromotionInfo(Long id);

    R<?> updateSeckillPromotion(SeckillPromotionEntity seckillPromotion);

    Object canPromotionSession();


    List<SeckillPromotionEntity> getPromotionList();

}

